<%--
  Created by IntelliJ IDEA.
  User: luiza
  Date: 09/09/12
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="/taglibs.jsp"%>

<title><fmt:message key="grupo.list.title"/></title>

<button onclick="location.href='grupoForm'" style="float: right; margin-top: -30px; width: 100px">Novo Grupo</button>

<display:table name="grupoList" class="table" requestURI="grupos" id="grupoList" export="true" pagesize="10" excludedParams="ajax">
    <display:setProperty name="export.pdf.filename" value="grupos.pdf"/>
    <display:column property="id" sortable="true" href="grupoForm" media="html" paramId="id" paramProperty="id" titleKey="grupo.id"/>

    <display:column property="descricao" sortable="true" titleKey="grupo.descricao" escapeXml="true"/>
</display:table>

<script type="text/javascript">highlightTableRows("grupoList");</script>